package com.bkgy.modular.tbdsjtcmplanwt.controller;

import com.alibaba.fastjson.JSONObject;
import com.bkgy.modular.tbdsjtcmplanwt.service.TbDsjTcmPlanWtService;
import com.bkgy.sys.common.entity.ResultData;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/tbDsjTcmPlanWt")
public class TbDsjTcmPlanWtController {
    @Resource
    private TbDsjTcmPlanWtService tbDsjTcmPlanWtService;

    @PostMapping("/findDataByPage")
    public ResultData findDataByPage(@RequestBody JSONObject json){
        return tbDsjTcmPlanWtService.findDataByPage(json);
    }
}
